package com.carloha.finance.tool;

import org.springframework.beans.factory.annotation.Autowired;

import sample.web.beetl.EvnBean;

public class EnvUtil {
	
	@Autowired
	static EvnBean evn;	
	public static EvnBean getEvn() {
		return evn;
	}
	public static void setEvn(EvnBean evn) {
		EnvUtil.evn = evn;
	}
	/**
	 * 获取基础路径
	 * @return
	 */
	public static String getPath() {
		if(evn == null) {
			evn = new EvnBean();
			evn.setPath("G:/tmp1");
		}
		return evn.getPath();
	}
}
